package org.example.cloudgetway.controller;

import org.example.cloudgetway.handler.AplidermpotentAnn;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/usr")
public class testController {
    @GetMapping("/login")
    public Object login(){
        System.out.println("登录");
        return null;
    }
    @RequestMapping("/login1")
    @AplidermpotentAnn
    public String loging(){
        System.out.println("222登录");
        return "null";
    }
}
